package com.free.auth.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;


/**
 * @author jokerjt
 * @version 1.0
 * @date 2024/9/22 0:02
 */
@Controller
@RequestMapping("/token")
public class LoginController {

    @RequestMapping("/login")
    public String login(){
        return "login1";
    }

//    @GetMapping("/login")
//    public ModelAndView require(ModelAndView modelAndView, @RequestParam(required = false) String error) {
//        modelAndView.setViewName("login");
//        modelAndView.addObject("error", error);
//        return modelAndView;
//    }
}
